﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using LUC.Domains;

namespace LUC
{
	public partial class AttentionNotify:Form
	{
		public AttentionNotify():base()
		{
			InitializeComponent();
		}

		public AttentionNotify(string text, Notification n): this()
		{
			Text = n.text;
			s_notify.Text = text;
			s_notify.ForeColor = n.color_disp;
		}

		private void b_ok_Click(object sender, EventArgs e)
		{
			Close();
		}

		private void Notify_Load(object sender, EventArgs e)
		{
			if (WindowState!= FormWindowState.Normal)
				WindowState = FormWindowState.Normal;
		}
	}
}
